net.dnsConfig.servers (field)
10 uses
net (current package)
dnsclient_unix.go#L299: sLen := uint32(len(cfg.servers))
dnsclient_unix.go#L313: server := cfg.servers[(serverOffset+j)%sLen]
dnsconfig.go#L32: servers []string // server addresses (in host:port form) to use
dnsconfig_unix.go#L27: conf.servers = defaultNS
dnsconfig_unix.go#L36: conf.servers = defaultNS
dnsconfig_unix.go#L52: if len(f) > 1 && len(conf.servers) < 3 { // small, but the standard limit
dnsconfig_unix.go#L57: conf.servers = append(conf.servers, JoinHostPort(f[1], "53"))
dnsconfig_unix.go#L138: if len(conf.servers) == 0 {
dnsconfig_unix.go#L139: conf.servers = defaultNS
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |